package com.jjh.springframework.test.event;

import com.jjh.springframework.context.ApplicationListener;
import com.jjh.springframework.context.event.ContextClosedEvent;

/**
 * ContextClosedEventListener
 *
 * @author jjh
 * @date 2021/07/15
 **/
public class ContextClosedEventListener implements ApplicationListener<ContextClosedEvent> {
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("关闭事件：" + this.getClass().getName());
    }
}
